package com.campus.dao;

import com.campus.model.TeachingStudentLearning;

import java.util.List;

public interface TeachingStudentLearningDao {
    boolean createTeachingStudentLearning(TeachingStudentLearning studentLearning);

    boolean updateTeachingStudentLearning(TeachingStudentLearning studentLearning);

    boolean deleteTeachingStudentLearning(int id);

    TeachingStudentLearning findById(int id);

    List<TeachingStudentLearning> findAllByUnitId(int unitId);

    List<TeachingStudentLearning> findAll();
}
